package com.example.springbootredis.pojo;

import java.math.BigDecimal;

/**
 * @Author: 19239
 * @Description:
 * @Date: 2024/5/10
 * @Version: 1.0
 */
public class Product {

    public Product(String name, int id, int price) {
        this.name = name;
        this.id = id;
        this.price = price;
    }

    private String name;

    private int id;

    private int price;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }
}
